<form name="renameform">
	<div style="text-align: center; padding: 15px 20px">
		<input type="text" name="newname" value="<?php echo $_GET['old']; ?>" />
		<input type="button" value="Namen ändern" onclick='ajaxfade("ajax/showdirectory.php?type=<?php echo $_GET['type']; ?>&oldname=<?php echo $_GET['old']; ?>&rename="+document.renameform.newname.value+"&dir=<?php echo $_GET['curdir']; ?>", "#slider");' />
	</div>
</form>